8d49df28ee7639dd383a00c1b2449c18924a141f,core/src/main/java/io/grpc/CallOptions.java,CallOptions,toString,#,380

Before Change



  @Override
  public String toString() {
    MoreObjects.ToStringHelper toStringHelper = MoreObjects.toStringHelper(this);
    toStringHelper.add("deadline", deadline);
    toStringHelper.add("authority", authority);
    toStringHelper.add("callCredentials", credentials);
    toStringHelper.add("affinity", affinity);
    toStringHelper.add("executor", executor != null ? executor.getClass() : null);
    toStringHelper.add("compressorName", compressorName);
    toStringHelper.add("customOptions", Arrays.deepToString(customOptions));
    toStringHelper.add("waitForReady", isWaitForReady());

    return toStringHelper.toString();
  }

After Change



  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
        .add("deadline", deadline)
        .add("authority", authority)
        .add("callCredentials", credentials)
        .add("affinity", affinity)
        .add("executor", executor != null ? executor.getClass() : null)
        .add("compressorName", compressorName)
        .add("customOptions", Arrays.deepToString(customOptions))
        .add("waitForReady", isWaitForReady())
        .add("maxInboundMessageSize", maxInboundMessageSize)
        .add("maxOutboundMessageSize", maxOutboundMessageSize)
        .toString();
  }
}